builder: Simplify _gtk_builder_boolean_from_string
authorMatthias Clasen <mclasen@redhat.com>
Mon, 7 Sep 2015 16:54:16 +0000 (12:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 7 Sep 2015 16:54:16 +0000 (12:54 -0400)
commit97a29ab8c45413c232ec5244b9c2a1df8e89ce36
tree6cabb517a9c735f4cbaedd650fa47776f8126c49
parent3d01f29bd9ce1322a0dc6043ba01d9ba9b4ef7ab
builder: Simplify _gtk_builder_boolean_from_string

We can do this without calling strlen() or allocating memory.
gtk/gtkbuilder.c